<template>
    <div>子组件
        <slot name="lilei"></slot>
        <slot name="lihuan" :url='url'></slot>
    </div>
</template>
<script>
export default {
    props:['value'],
    data(){
        return{
                url:'1234456'
        }
    },
    created(){
        console.log(this.value);
        setTimeout(() => {
             this.$emit('changed','111')
        }, 5000);
    }
}
</script>
<style scoped>

</style>